package scau.erps.service;
import java.util.List;

import scau.erps.entity.Factory;

/** 
 * 工厂服务类接口
 * @author outsider
 * 
 */
public interface FactoryService {
	public List<Factory> getAllFactoy();
	public List<Factory> getFactoyByTeamId(int team_Id);
	public List<Factory> getTeamFactoyByStatus(int teamId,String Status);
	public Factory getTeamFactoyByType(int teamId,String type);
	public boolean buyFactoy(int teamId,String type);
	public boolean rentFactoy(int teamId,String type);
	public boolean sellFactoy(int teamId,String type);
	public int payRentFactoy(int teamId);	
}
